<!DOCTYPE html>
<html>
<script src="../resources/run-after-layout-and-paint.js"/></script>

<!-- There should be no red on this page. -->
<body>
  <object onload="load()" data="resources/color-profile-image-foreign-object.svg" width="480" height="360" type="image/svg+xml">
    <p style="color: red">SVG not supported in this browser</p>
  </object>
</body>

<script>
function load() {
  if (window.testRunner)
    runAfterLayoutAndPaint(function() { testRunner.notifyDone() });
}

if (window.testRunner)
  testRunner.waitUntilDone();
</script>
</html>
